// 获取规格列表
export const getSpecs = (params) => uni.$uv.http.get('/api/merchantProfile/getSpecs', {params})
// 生成SKU列表
export const generateAllSkus = (params) => uni.$uv.http.post('/api/merchantProfile/generateAllSkus', params)
// 分类列表
export const category = (params) => uni.$uv.http.get('/api/merchantProfile/category', {params})
// 商家添加商品
export const addGoods = (params) => uni.$uv.http.post('/api/merchantProfile/addGoods', params)
// 商家父级分类列表
export const merchantClassifyList = (params) => uni.$uv.http.get('/api/merchantProfile/merchantClassifyList', {params})
// 商家商品列表
export const merchantProfileList = (params) => uni.$uv.http.get('/api/merchantProfile/list', {params})
// 删除商品
export const delGoods = (id) => uni.$uv.http.delete('/api/merchantProfile/delGoods/' + id)
// 商品上下架
export const setUpApi = (params) => uni.$uv.http.post('/api/merchantProfile/setUp', params)
// 商品详情
export const detailGoods = (id) => uni.$uv.http.get('/api/merchantProfile/detail/' + id, {})
// 修改价格
export const setPrice = (params) => uni.$uv.http.post('/api/merchantProfile/setPrice', params)
// 修改库存
export const setStock = (params) => uni.$uv.http.post('/api/merchantProfile/setStock', params)
// 修改店铺状态
export const setShopStatus = (params) => uni.$uv.http.post('/api/merchantProfile/setShopStatus', params)
// 获取商品规格信息
export const getSpecValues = (id) => uni.$uv.http.get('/api/merchantProfile/getSpecValues/' + id, {})
// 修改商品
export const merchantProfileedit = (params) => uni.$uv.http.post('/api/merchantProfile/edit', params)
// 上下架数量
export const goodsIsUpNum = () => uni.$uv.http.get('/api/merchantProfile/goodsIsUpNum', {})
// 商家订单列表
export const orderList = (params) => uni.$uv.http.get('/api/merchantProfile/order/list', {params})
// 商家发货
export const orderDelivery = (params) => uni.$uv.http.post('/api/merchantProfile/order/delivery', params)
// 快递公司名称列表
export const courierCompanyList = (params) => uni.$uv.http.get('/api/courierCompany/list', {params})
// 合并发货列表
export const mergeShipmentList = (params) => uni.$uv.http.get('/api/merchantProfile/order/mergeShipmentList', {params})
// 商家合并发货
export const merchantsMergeShipments = (params) => uni.$uv.http.post('/api/merchantProfile/order/merchantsMergeShipments', params)
// 商家退货地址列表
export const returnAddressList = (params) => uni.$uv.http.get('/api/merchantProfile/returnAddress/list', {params})
// 添加商家退货地址
export const returnAddressAdd = (params) => uni.$uv.http.post('/api/merchantProfile/returnAddress/add', params)
// 商家退货地址详情
export const returnAddressID = (id) => uni.$uv.http.get('/api/merchantProfile/returnAddress/detail/' + id, {})
// 编辑商家退货地址
export const returnAddressEdit = (params) => uni.$uv.http.post('/api/merchantProfile/returnAddress/edit', params)
// 设置商家默认退货地址
export const returnAddressDefault = (params) => uni.$uv.http.post('/api/merchantProfile/returnAddress/default', params)
// 删除商家退货地址
export const returnAddressDel = (id) => uni.$uv.http.delete('/api/merchantProfile/returnAddress/del/' + id)
// 获取商家退货默认地址
export const getDefault = (params) => uni.$uv.http.get('/api/merchantProfile/returnAddress/getDefault', {params})



